﻿@namespace SwashbucklerDiary.Components
@inherits DialogComponentBase

<MMDialog MyValue="Value"
          MyValueChanged="ValueChanged"
          MaxWidth="420">
    <MDatePicker @bind-Value="InternalDate"
                 Class="rounded-lg pt-4 my-picker"
                 FullWidth="true"
                 NoTitle="true"
                 Scrollable="true"
                 Color="primary"
                 Events="Events"
                 EventColor='EventColor'
                 Min="Min"
                 Max="Max">
        <MSpacer></MSpacer>
        <MButton Text="true"
                 OnClick="HandleOnCancel">
            @(I18n.T("Share.Cancel"))
        </MButton>
        <MButton Text="true"
                 Color="primary"
                 OnClick="HandleOnOK">
            @(I18n.T("Share.OK"))
        </MButton>
    </MDatePicker>
</MMDialog>
